package pers.xiaojun.boot.module.system.dao.entity.dept;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import pers.xiaojun.boot.common.enums.CommonStatusEnum;
import pers.xiaojun.boot.mybatis.core.enitiy.BaseEntity;
import pers.xiaojun.boot.tenant.core.db.TenantBaseEntity;

/**
 * 岗位实体
 *
 * @author xiaojun
 * @since 2025-11-02
 */
@EqualsAndHashCode(callSuper = true)
@TableName("system_post")
@Data
public class PostDO extends TenantBaseEntity {

    /**
     * 岗位序号
     */
    @TableId
    private Long id;
    /**
     * 岗位名称
     */
    private String name;
    /**
     * 岗位编码
     */
    private String code;
    /**
     * 岗位排序
     */
    private Integer sort;
    /**
     * 状态
     * <p>
     * 枚举 {@link CommonStatusEnum}
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;

}
